package com.vtc.session13;

public class Student {

	private int id;
	private String name;
	private String addr;
	private int age;
	
	private boolean checked = false;
	
	public Student(){
		
	}	
	public Student(String name, String addr, int age) {
		super();
		this.name = name;
		this.addr = addr;
		this.age = age;
	}
	public Student(int id,String name, String addr, int age) {
		super();
		this.id = id;
		this.name = name;
		this.addr = addr;
		this.age = age;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		System.out.println(checked);
		this.checked = checked;
	}
	
	
}
